﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using QuadraticEquation;

namespace Tests
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        [ExpectedException (typeof (DivideByZeroException))]
        public void TestMethod1()
        {
            double a = 2;
            double x1;
            double x2;
            QuadraticEquationSolver.SolveEquation(a, 2 * a-1, a, out x1, out x2);
        }
    }
}
